<template>
	<view>
		<view class="">
			<view class="">
				<u-sticky bgColor="#fff" style='top:0rpx'>
					<u-tabs :current="tabsIndex" @click="click" style="background-color: #FFFFFF;padding-bottom:10rpx"
						:list="list1" lineWidth="30" lineColor="#8438FC" :activeStyle="{
								color: '#8438FC',
								fontWeight: 'bold',
								transform: 'scale(1.05)'
							}" :inactiveStyle="{
								color: '#606266',
								transform: 'scale(1)'
							}" itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;padding-bottom:5rpx">
					</u-tabs>
				</u-sticky>
			</view>
			<view class="">
				<zuju :list='list' :urls='urls' :type='2'></zuju>
			</view>
		</view>
	
	</view>
</template>

<script>
	import zuju from '../../components/zuju_box.vue'
	export default {
		components: {
			zuju
		},
		data() {
			return {
				tabsIndex: 0,
				list1: [{
					name: '我参与的'
				}, {
					name: '我发起的'
				}],
				page: 1,
				suo: true,
				urls: [
					'https://cdn.uviewui.com/uview/album/1.jpg',
					'https://cdn.uviewui.com/uview/album/2.jpg',
					'https://cdn.uviewui.com/uview/album/3.jpg',
					'https://cdn.uviewui.com/uview/album/4.jpg',
					'https://cdn.uviewui.com/uview/album/7.jpg',
					'https://cdn.uviewui.com/uview/album/6.jpg',
					'https://cdn.uviewui.com/uview/album/5.jpg'
				],
				list: [{
				
					title: 'IGS. “资本1+1’ 游戏行',
					time: '2024-04-30 08:00',
					address: '云南省昆明市西山区',
					avatar: '../../static/icons/tou.png',
					image: '../../static/icons/h3.png',
					name: '凌柒',
					dec: '2020年5月29日前无发文的教育新作者，报名参与本计划、完整填写问卷信息',
					price: '1.00'
				}],
			}
		},
		methods: {
			click(e) {
				console.log(e)
				this.tabsIndex = e.index
				this.page = 1
				this.suo = true
				// this.twoDynamic()
			},
		}
	}
</script>

<style>

</style>
